<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
	</head>
	<body>
		<div id="app">
			<button v-on:click="increase">{{count}}</button>
			<button v-on:click="short">{{countd}}</button>
			{{message}}
		
		
		</div>
		<script>
			var app =Vue.createApp({
				data(){
					return{
						message:"hello vue",
						count:1,
						countd:1
					}
				},
				methods:{
					increase:function(){
					this.count++;
				},
				    short:function(){
						this.countd--;
					}
				}
			});
			var vm =app.mount("#app");
		</script>
	</body>
</html>
